import request from "../utils/requset";

export const getCollect = async (user_id: any) => {
  return await request.post<any, any>("/user/collect/getCollect", {
    user_id,
  });
};
export const deleteCollect = async (user_id: any, product_id: any) => {
  return await request.post<any, any>("/user/collect/deleteCollect", {
    user_id, product_id
  });
};
